package com.example.login.api

import com.example.common.api.BaseApiServer
import com.example.login.entity.LoginData
import com.example.login.entity.LoginEntity
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface LoginApiServer:BaseApiServer {
    @POST("/user/login")
    suspend fun  loginToServer(@Query("password") password:String,@Query("username") username:String) : LoginEntity<LoginData>
}